using System;
using System.Collections.Generic;
using System.Linq;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Audio;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.GamerServices;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Input;
using Microsoft.Xna.Framework.Media;
using Microsoft.Xna.Framework.Net;
using Microsoft.Xna.Framework.Storage;
using System.Runtime.Serialization;
using System.Runtime.Serialization.Formatters.Binary;
using System.IO;


namespace XNAProject.GameElements
{
    public class Fleet                          //fleet class 
    {                                                                                       //just a scratch
        public List<Ship> shipCollection { get; set; }                                               //ship list
        private string fleetName;

        public Fleet()
        {
            fleetName = "FleetTest";
            shipCollection = new List<Ship>();
        }
        public Ship this[int shipNum]
        {
            get
            {
                return shipCollection[shipNum];
            }
        }

        public void EmptyFleet()
        {
            shipCollection.Clear();
        }

		
		public void Add(Ship newShip)
        {
            shipCollection.Add(newShip);
        }

        

    }
}